﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Social_Photos
{
    public class UrlConfig
    {
      //  public static string SERVER_HOST = "techmaster.dyndns.biz";
       // public static string SERVER_HOST = "192.168.1.99";
     //   public static string SERVER_HOST = "192.168.0.12";
        public static string SERVER_HOST = "localhost";
        public static string SERVER_CONTEXT_PATH = "/SocialPhotos";
        public static string SERVER_SERVICE_NAME = "/PhotoCloud.svc";

        public static string SERVICE_URI_STRING = "http://"+SERVER_HOST + SERVER_CONTEXT_PATH + SERVER_SERVICE_NAME;

        public static string GET_THUMBNAIL = "http://"+ SERVER_HOST + SERVER_CONTEXT_PATH + "/Thumbnail.ashx?f=";
        public static string UPLOAD_PHOTO = "http://" + SERVER_HOST + SERVER_CONTEXT_PATH + "/Upload.ashx";
        public static string GET_URL_PHOTO = "http://"+ SERVER_HOST + SERVER_CONTEXT_PATH + "/Upload.ashx?f=";
        public static string POST_COMMENT = "http://" + SERVER_HOST + SERVER_CONTEXT_PATH + "/Comment.ashx";

        public static string RANDOM_SERVICE_STRING = "/getRandomPhotos?number=6";
        public static string ALL_PHOTOS_SERVICE_STRING = "/Photos";
        public static string PHOTOS_BY_USER_ID_SERVICE_STRING = "/getPhotosByUserId?id=";
        public static string LIKE_SERVICE_STRING = "/like?id=";
        public static string DISLIKE_SERVICE_STRING = "/dislike?id=";
        
    }
}
